<?php
/**
 * Created by PhpStorm.
 * User: coolinmind
 * Date: 05/01/2019
 * Time: 16:14
 */

namespace App\Services\Index\Index;

use App\Http\Controllers\NewAdmin\AliController;

class IndexLogic
{
    public function sendCode($data)
    {
        $res = AliController::aliSmsCode($data['phone']);
        return auto_return($res, '短信发送成功', '短信发送失败');
    }
}
